﻿var createBtn=function(text,click){
	var b=document.createElement('button');
	b.innerHTML=text;
	b.onclick=click;
	document.body.appendChild(b);
}

var grid;
Mui.use('Mui.util.JsonGrid',function(Mui){
	grid=new Mui.util.JsonGrid({
		title:'Grid',
		style:'margin:10px',
		hasColl:true,
		hasRefresh:true,
		url:'mui.util.jsongrid.data.html',
		pageSize:5
	});
	grid.render();
});



